package com.ruoyi.gd.xcaplog.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 下场安排日志业务对象 z_xcap_log
 *
 * @author ruoyi
 * @date 2024-05-31
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ZXcapLogBo extends BaseEntity {

    /**
     * id
     */
    @NotBlank(message = "id不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 下场id
     */
    @NotBlank(message = "下场id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String xcid;

    /**
     * 下场负责人id
     */
    @NotBlank(message = "下场负责人id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String xcfzrid;

    /**
     * 下场负责人名称
     */
    @NotBlank(message = "下场负责人名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String xcfzrname;

    /**
     * 下场类型
     */
    @NotBlank(message = "下场类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String xclx;

    /**
     * 下场备注
     */
    @NotBlank(message = "下场备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String xcbz;

    /**
     * 下场时间
     */
    @NotNull(message = "下场时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date xcsj;

    /**
     * 创建时间
     */
    private Date createtime;

    private String xcrid;

    private String xcrname;

}
